package com.sixmac.model;

import com.sixmac.core.base.model.BaseModel;
import org.beetl.sql.core.annotatoin.Table;

import java.util.Date;

/**
 * RoomOrder
 * 2018-09-29 18:11:54
 * @author Blade
 */
@Table(name = "room_order")
@SuppressWarnings("serial")
public class RoomOrder extends BaseModel {

	private Integer id;
    /**
     * 关联房源信息
     */
	private Integer houseId;
    /**
     * 关联用户信息
     */
	private Integer userId;
    /**
     * 预约入住时间
     */
	private String checkIn;
    /**
     * 退房时间
     */
	private String checkOut;
    /**
     * 订单号
     */
	private String order;
    /**
     * 来源平台
     */
	private String platform;
    /**
     * 订单状态（1：待入住    2：入住中   3：已退房  ）
     */
	private String type;
    /**
     * 订单产生时间
     */
	private Date time;
	
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getHouseId() {
		return houseId;
	}
	
	public void setHouseId(Integer houseId) {
		this.houseId = houseId;
	}
	
	public Integer getUserId() {
		return userId;
	}
	
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	public String getCheckIn() {
		return checkIn;
	}
	
	public void setCheckIn(String checkIn) {
		this.checkIn = checkIn;
	}
	
	public String getCheckOut() {
		return checkOut;
	}
	
	public void setCheckOut(String checkOut) {
		this.checkOut = checkOut;
	}
	
	public String getOrder() {
		return order;
	}
	
	public void setOrder(String order) {
		this.order = order;
	}
	
	public String getPlatform() {
		return platform;
	}
	
	public void setPlatform(String platform) {
		this.platform = platform;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public Date getTime() {
		return time;
	}
	
	public void setTime(Date time) {
		this.time = time;
	}
	

}
